/**
 * User: alesj
 * Date: 15.1.2006
 * Time: 14:51:16
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.alesj.blueberry.spring.sms.impl;

import com.alesj.blueberry.spring.sms.JdbcDAO;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.support.JdbcDaoSupport;

/**
 * @author <a href="mailto:ales.justin@genera-lynx.com">Ales Justin</a>
 */
public class JdbcDAOImpl extends JdbcDaoSupport implements JdbcDAO {

    private String ageQuery;

    public int findUserAge(String number) throws DataAccessException {
        return 18;
//        return getJdbcTemplate().queryForInt(ageQuery, new Object[]{number});
    }

    public void setAgeQuery(String ageQuery) {
        this.ageQuery = ageQuery;
    }

}
